package edu.xhu.homepage.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.xhu.model.video.pojos.BiliMainChannel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BiliMainChannelMapper extends BaseMapper<BiliMainChannel> {

    /**
     * 查询全部的主分区
     */
    @Select("select * from bili_main_channel")
    List<BiliMainChannel> queryAllMainChannel();
}
